
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>dbBIP</title>
    <link rel="icon" href="http://bioinfo.ahu.edu.cn/dbBIP/image/sourcebicon.png">
    <link href="/css/bootstrap.css" rel="stylesheet">
    <link href="/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
    <script src="/js/jquery.min.js"></script>
    <script src="/js/bootstrap.min.js"></script>
    <link href="/css/navbar-fixed-top.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/bootstrap.min.css">


    <style type="text/css">
        <!--
        重复提交 加载等待

        -->
        @-webkit-keyframes spin {
            to {
                -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }

        @keyframes spin {
            to {
                -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
            }
        }

        .div-waiting {
            position: fixed;
            z-index: 998;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            opacity: 1;
            background: rgba(0, 0, 0, 0.2);
            vertical-align: middle;
            text-align: center;
        }

        .icon-waiting {
            position: relative;
            top: 48%;
            width: 5rem;
            height: 5rem;
            margin: 0 auto;
            border-radius: 50%;
            border: 0.5rem solid rgba(21, 21, 21, 0.4);
            border-top-color: #e1e1e1;
            -webkit-animation: 1.5s spin infinite linear;
            animation: 1.5s spin infinite linear;
        }

        .icon-position {
            position: relative;
            top: 48%;
            margin: 0 auto;
            font-size: 30px;
        }
    </style>
</head>
<body>
<div class="container">

    <!-- 导航栏 -->
    
    <div class="panel panel-info logo ">

        <img src="/picture/The_Starry_Night_v2.png" alt="logo" id='logo' align="center" height="100%" width="100%">
    </div>
    <nav class="navbar navbar-default ">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="dropdown"><a href="../index.html"> Home</a></li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">SNP<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="SNP_PGC2.html"> PGC2 GWAS</a></li>
                        <li><a href="SNP_PGC3.html"> PGC3 GWAS</a></li>
                        <li><a href="Functional_SNPs.html"> Functional SNPs</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gene<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="geneList.html">Gene Browser System</a>
                            
                        <li><a href="Gene_PGC3_SMR.html">Genes identified by SMR</a></li>
                        <li><a href="Gene_TWAS_V2.html">Genes identified by TWAS</a></li>
                        
                        <li><a href="">Genes expressed differentially in PsychENCODE</a>
                        <li><a href="Genes_Identified_by_GWAS.html">Genes Identified by GWAS</a>
                        <li><a href="exonic.html">Genes Identified by exome sequencing</a>
                        <li><a href="CNV.html">Genes Identified by CNVs</a>
                        
                        </li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        Analysis<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="LocusZoom.html"> LocusZoom</a></li>
                        <li><a href="AnalysisTranscripteQTL.html">Transcript eQTL query</a></li>
                        <li><a href="AnalysiseQTL.html">Gene eQTL query</a></li>
                        <li><a href="ExpressionPatternAnalysis.html">Expression pattern analysis</a></li>
                        <li><a href="ProteinProteinInteraction.html">Protein-Protein Interaction</a></li>
                        <li><a href="Co-expression.html">Co-expression</a></li>
                        <li><a href="GTEx.html">Tissue expression analysis</a></li>
                    </ul>
                </li>

            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="Download.html"><span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span> Download</a>
                </li>
                <li><a href="Manual.html"><span class="glyphicon glyphicon-book" aria-hidden="true"></span> Manual</a></li>
                <li class=""><a href="javascript:;"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> About Us<span class="sr-only">(current)</span></a></li>
            </ul>
        </div>
    </nav>


    <!-- 主体 -->
    <div class="panel panel-default">
        <div class="panel-body  panel-table">
            <h3 align="center">Genes expressed differentially in PsychENCODE</h3>
            <hr>

            <form action="/dbBIP/GeneExpressedDifferentially/search" method="post" class="form-inline" role="form">
                <div class="col-md-8">
                    <!-- input Genes -->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">Step1: Input genes</h3>
                        </div>
                        <div class="panel-body">
                            <!--<input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1" name="snp">-->
                            <textarea class="form-control" id="gene" maxlength="100" name="gene" rows="5" style="width: 100%;">
</textarea>
                        </div>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="panel panel-default">
                        <div class="panel-heading"><a href="#" style="cursor:hand"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> Example for Genes</a>
                        </div>
                        <div class="panel-body">
                            DPM1<br>
                            SCYL3<br>
                            ALDH1A1<br>

                        </div>
                    </div>
                </div>

                <div class="col-md-12">
                    <div class="sub_button">
                        <button type="submit" class="btn btn-success" value="Search" onclick="showWaiting()">Search
                        </button>
                        <button type="reset" class="btn btn-info" value="Reset">Reset</button>
                    </div>
                </div>

            </form>

            <div class="col-md-12 panel-note">
                <div class="panel panel-warning">
                    <div class="panel-heading">
                        <h4 class="panel-title"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> Where does this data come from?</h4>
                    </div>
                    <div class="panel-body">
                        <p class="note-source">
                            &nbsp;&nbsp;&nbsp;&nbsp;We Downloaded this data from the PsychENCODE Consortium
                            (http://resource.psychencode.org/)
                            and further examined gene mRNA expression level in brains of bipolar disorder cases and
                            controls. In the original study, PsychENCODE collected post-mortem dorsolateral prefrontal
                            cortex (DLPFC) tissues from 144 subjects with bipolar disorder cases and 899 controls from
                            European ancestries. We extracted the expression values (fragments per kilobase of
                            transcript per million mapped reads (FPKM)) and P value of genes from PsychENCODE website.
                            Detailed information about the study subjects are provided in the related publication.
                            <br>
                            <b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If you used the differential expressed results in
                                this database, please cite the original
                                paper of PsychEncode </b>[<a href='javascript:;' target='_blank'>PMID:30545856</a>].
                        </p>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>

    <div class="container">
    <div class="footer">

        <div class="copyright">
            Copyright©
            <a class="ow" href="../index1.html" target="_blank">AnHui University</a> ©All Rights
            Reserved.
        </div>
        <div>
            <a class="ow" href="javascript:;" target="_blank">皖ICP备20012750号-1</a>
        </div>
    </div>


<!-- Bootstrap core JavaScript
================================================== -->
<script language="javascript" type="text/javascript">
    $(function () {
        var $panel_snp_height = $('div.panel-primary').height();
        $('div.panel-default:eq(1)').css("height", $panel_snp_height);
        $('div.panel-primary div.panel-body').mouseup(function () {
            var $panel_snp_height = $('div.panel-primary').height();
            $('div.panel-default:eq(1)').css("height", $panel_snp_height);
        })

        $('div.panel-heading a:eq(0)').click(function () {
            $('textarea.form-control:eq(0)').val("DPM1\nSCYL3\nALDH1A1");
        })
        $('div.sub_button button:eq(1)').click(function () {
            $('textarea.form-control:eq(0)').html("")
        })

        function split(val) {
            return val.split(/\n/);
        }

        function extractLast(term) {
            return split(term).pop();
        }

        $("#gene")
            // don't navigate away from the field on tab when selecting an item
            .on("keydown", function (event) {
                if (event.keyCode === $.ui.keyCode.TAB &&
                    $(this).autocomplete("instance").menu.active) {
                    event.preventDefault();
                }
            })
            // 查找列表预设值
            .autocomplete({
                minLength: 0,
                source: function (request, response) {
                    // delegate back to autocomplete, but extract the last term
                    response($.ui.autocomplete.filter(
                        availableTags, extractLast(request.term)));
                },
                focus: function () {
                    // prevent value inserted on focus
                    return false;
                },
                select: function (event, ui) {
                    var terms = split(this.value);
                    // remove the current input
                    terms.pop();
                    // add the selected item
                    terms.push(ui.item.value);
                    // add placeholder to get the comma-and-space at the end
                    terms.push("");
                    this.value = terms.join("\n");
                    return false;
                }
            });

    })

    //加载等待
    function showWaiting() {
        var node = document.createElement("div");  //创建一个div元素节点，作为整个背景的容器
        var nodeClass = document.createAttribute("class"); //创建class元素属性
        var nodeStyle = document.createAttribute("style"); //创建style元素属性
        var nodeName = document.createAttribute("name"); //创建name元素属性
        nodeName.value = "divWaiting"; //给元素节点命名
        nodeClass.value = "div-waiting"; //元素属性赋值
        nodeStyle.value = "height:" + window.innerHeight + "px; width:" + window.innerWidth + "px;";
        node.setAttributeNode(nodeClass); //设置元素节点的属性及值
        node.setAttributeNode(nodeStyle);
        node.setAttributeNode(nodeName);
        var iconNode = document.createElement("div");  //创建一个div元素节点，作为旋转图标的容器
        var iconClass = document.createAttribute("class");
        iconClass.value = "icon-waiting";
        //iconClass.value = "fa fa-spinner fa-pulse icon-position";
        iconNode.setAttributeNode(iconClass);

        node.appendChild(iconNode);  //将图标节点放到整个背景的元素节点
        document.body.appendChild(node); //将整个背景div插入到body中
    }
</script>
</div></body>
</html>